<?php

require_once(dirname(__FILE__) . '/intface/intface.application.php');

class WebApplication extends iApplication {
	
	public function runFirst() {
		$this->view->assign('CORE_CSS_VERSION', CORE_CSS_VERSION);     // 核心css版本号
		$this->view->assign('NORMAL_CSS_VERSION', NORMAL_CSS_VERSION); // 普通css版本号
		$this->view->assign('CORE_JS_VERSION', CORE_JS_VERSION);       // 核心js版本号
		$this->view->assign('NORMAL_JS_VERSION', NORMAL_JS_VERSION);   // 普通js版本号
		$this->view->assign('IMG_DOMAIN', IMG_DOMAIN);
		$this->view->assign('STATIC_DOMAIN', STATIC_DOMAIN);
		$this->view->assign('UPLOAD_DOMAIN', UPLOAD_DOMAIN);
	}

    public function runLast() {
        Log::commit();
    }
}
?>